package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author mahongtao
 * @since 2021-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("l_record")
@ApiModel(value="LRecord对象", description="")
public class LRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "请假记录id")
    @TableId(value = "l_s_id", type = IdType.AUTO)
    private Integer lSId;

    @ApiModelProperty(value = "请假id")
    @TableField("l_id")
    private Integer lId;

    @ApiModelProperty(value = "审批人")
    @TableField("t_id")
    private Integer tId;

    @ApiModelProperty(value = "审批时间")
    @TableField("l_time")
    private LocalDateTime lTime;


}
